package com.douyinkan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.douyinkan.entity.Content;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContentMapper extends BaseMapper<Content> {
    Content findByFilename(String filename);
    
    Content findByFilePath(String filePath);
    
    void deleteByFilePath(@Param("filePath") String filePath);
}